home *** CD-ROM | disk | FTP | other *** search
/ Enter 2006 October / Enter 10 2006.iso / boot / isolinux / initrd / in / usr / lib / setup / xorg.conf.in < prev   
Encoding:
Text File  |  2006-07-27  |  14.7 KB  |  462 lines

  1. # File generated by xf86config.
  2.  
  3. #
  4. # Copyright (c) 1999 by The XFree86 Project, Inc.
  5. #
  6. # Permission is hereby granted, free of charge, to any person obtaining a
  7. # copy of this software and associated documentation files (the "Software"),
  8. # to deal in the Software without restriction, including without limitation
  9. # the rights to use, copy, modify, merge, publish, distribute, sublicense,
  10. # and/or sell copies of the Software, and to permit persons to whom the
  11. # Software is furnished to do so, subject to the following conditions:
  12. # The above copyright notice and this permission notice shall be included in
  13. # all copies or substantial portions of the Software.
  14. # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  15. # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  16. # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
  17. # THE XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
  18. # WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
  19. # OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  20. # SOFTWARE.
  21. # Except as contained in this notice, the name of the XFree86 Project shall
  22. # not be used in advertising or otherwise to promote the sale, use or other
  23. # dealings in this Software without prior written authorization from the
  24. # XFree86 Project.
  25. #
  26.  
  27. # **********************************************************************
  28. # Refer to the XF86Config(4/5) man page for details about the format of 
  29. # this file.
  30. # **********************************************************************
  31.  
  32. # NOTE:  This is a NEW IMPROVED version of XF86Config-fbdev that uses the vesa
  33. # driver instead of the fbdev driver.  Thanks to Kenneth Fanyo who pointed
  34. # this out to me. :)
  35.  
  36. # This XF86Config file is designed for use with the VESA framebuffer.
  37. # This generic interface should work with nearly all video cards
  38. # (although not every card will support every resolution).
  39.  
  40. # With the new driver, it should no longer be required to have frame buffer
  41. # support in the kernel, or to run it on the console.
  42. #
  43. # Enjoy! :)
  44. # -- volkerdi@slackware.com
  45. #
  46.  
  47. # **********************************************************************
  48. # Module section -- this  section  is used to specify
  49. # which dynamically loadable modules to load.
  50. # **********************************************************************
  51. #
  52. Section "Module"
  53.  
  54. # This loads the DBE extension module.
  55.  
  56.     Load        "dbe"      # Double buffer extension
  57.  
  58. # This loads the miscellaneous extensions module, and disables
  59. # initialisation of the XFree86-DGA extension within that module.
  60.     SubSection  "extmod"
  61.       Option    "omit xfree86-dga"   # don't initialise the DGA extension
  62.     EndSubSection
  63.  
  64. # This loads the font modules
  65.     Load        "type1"
  66.     Load        "freetype"
  67. #   Load        "speedo"
  68.  
  69. # This loads the GLX module
  70.     Load       "glx"
  71.  
  72. EndSection
  73.  
  74. # **********************************************************************
  75. # Files section.  This allows default font and rgb paths to be set
  76. # **********************************************************************
  77.  
  78. Section "Files"
  79.  
  80. # The location of the RGB database.  Note, this is the name of the
  81. # file minus the extension (like ".txt" or ".db").  There is normally
  82. # no need to change the default.
  83.  
  84.     RgbPath    "/usr/lib/X11/rgb"
  85.  
  86. # Multiple FontPath entries are allowed (which are concatenated together),
  87. # as well as specifying multiple comma-separated entries in one FontPath
  88. # command (or a combination of both methods)
  89. # If you don't have a floating point coprocessor and emacs, Mosaic or other
  90. # programs take long to start up, try moving the Type1 and Speedo directory
  91. # to the end of this list (or comment them out).
  92.  
  93.     FontPath   "/usr/lib/X11/fonts/local/"
  94.     FontPath   "/usr/lib/X11/fonts/misc/"
  95.     FontPath   "/usr/lib/X11/fonts/75dpi/:unscaled"
  96.     FontPath   "/usr/lib/X11/fonts/100dpi/:unscaled"
  97.     FontPath   "/usr/lib/X11/fonts/Type1/"
  98. #    FontPath   "/usr/lib/X11/fonts/CID/"
  99. #    FontPath   "/usr/lib/X11/fonts/Speedo/"
  100.     FontPath   "/usr/lib/X11/fonts/75dpi/"
  101.     FontPath   "/usr/lib/X11/fonts/100dpi/"
  102.     FontPath   "/usr/lib/X11/fonts/TTF/"
  103.     FontPath   "/usr/lib/X11/fonts/cyrillic/"
  104.     FontPath   "/usr/share/ghostscript/fonts/"
  105.  
  106. # ModulePath can be used to set a search path for the X server modules.
  107. # The default path is shown here.
  108.  
  109. #    ModulePath "/usr/lib/xorg/modules"
  110.  
  111. EndSection
  112.  
  113. # **********************************************************************
  114. # Server flags section.
  115. # **********************************************************************
  116.  
  117. Section "ServerFlags"
  118.  
  119. # Uncomment this to cause a core dump at the spot where a signal is
  120. # received.  This may leave the console in an unusable state, but may
  121. # provide a better stack trace in the core dump to aid in debugging
  122.  
  123. #    Option     "NoTrapSignals"
  124.  
  125. # Uncomment this to disable the <Crtl><Alt><Fn> VT switch sequence
  126. # (where n is 1 through 12).  This allows clients to receive these key
  127. # events.
  128.  
  129. #    Option     "DontVTSwitch"
  130.  
  131. # Uncomment this to disable the <Crtl><Alt><BS> server abort sequence
  132. # This allows clients to receive this key event.
  133.  
  134. #    Option     "DontZap"
  135.  
  136. # Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching
  137. # sequences.  This allows clients to receive these key events.
  138.  
  139. #    Option     "DontZoom"
  140.  
  141. # Uncomment this to disable tuning with the xvidtune client. With
  142. # it the client can still run and fetch card and monitor attributes,
  143. # but it will not be allowed to change them. If it tries it will
  144. # receive a protocol error.
  145.  
  146. #    Option     "DisableVidModeExtension"
  147.  
  148. # Uncomment this to enable the use of a non-local xvidtune client.
  149.  
  150. #    Option     "AllowNonLocalXvidtune"
  151.  
  152. # Uncomment this to disable dynamically modifying the input device
  153. # (mouse and keyboard) settings.
  154.  
  155. #    Option     "DisableModInDev"
  156.  
  157. # Uncomment this to enable the use of a non-local client to
  158. # change the keyboard or mouse settings (currently only xset).
  159.  
  160. #    Option     "AllowNonLocalModInDev"
  161.  
  162. # Set the basic blanking screen saver timeout.
  163.  
  164. #    Option      "blank time"    "10"    # 10 minutes
  165.  
  166. # Set the DPMS timeouts.  These are set here because they are global
  167. # rather than screen-specific.  These settings alone don't enable DPMS.
  168. # It is enabled per-screen (or per-monitor), and even then only when
  169. # the driver supports it.
  170.  
  171. #    Option      "standby time"  "20"
  172. #    Option      "suspend time"  "30"
  173. #    Option      "off time"      "60"
  174.  
  175. # On some platform the server needs to estimate the sizes of PCI
  176. # memory and pio ranges. This is done by assuming that PCI ranges
  177. # don't overlap. Some broken BIOSes tend to set ranges of inactive
  178. # devices wrong. Here one can adjust how aggressive the assumptions
  179. # should be. Default is 0.
  180.  
  181. # Option   "EstimateSizesAggresively" "0"
  182.  
  183. EndSection
  184.  
  185. # **********************************************************************
  186. # Input devices
  187. # **********************************************************************
  188.  
  189. # **********************************************************************
  190. # Core keyboard's InputDevice section
  191. # **********************************************************************
  192.  
  193. Section "InputDevice"
  194.  
  195.     Identifier    "Keyboard1"
  196.     Driver    "kbd"
  197. # For most OSs the protocol can be omitted (it defaults to "Standard").
  198. # When using XQUEUE (only for SVR3 and SVR4, but not Solaris),
  199. # uncomment the following line.
  200.  
  201. #    Option     "Protocol"      "Xqueue"
  202.  
  203. # Set the keyboard auto repeat parameters.  Not all platforms implement
  204. # this.
  205.  
  206. #    Option     "AutoRepeat"    "500 5"
  207.  
  208. # Specifiy which keyboard LEDs can be user-controlled (eg, with xset(1)).
  209.  
  210. #    Option     "Xleds" "1 2 3"
  211.  
  212. # To disable the XKEYBOARD extension, uncomment XkbDisable.
  213.  
  214. #    Option     "XkbDisable"
  215.  
  216. # To customise the XKB settings to suit your keyboard, modify the
  217. # lines below (which are the defaults).  For example, for a European
  218. # keyboard, you will probably want to use one of:
  219. #
  220. #    Option     "XkbModel"      "pc102"
  221. #    Option     "XkbModel"      "pc105"
  222. #
  223. # If you have a Microsoft Natural keyboard, you can use:
  224. #
  225. #    Option     "XkbModel"      "microsoft"
  226. #
  227. # If you have a US "windows" keyboard you will want:
  228. #
  229. #    Option     "XkbModel"      "pc104"
  230. #
  231. # Then to change the language, change the Layout setting.
  232. # For example, a german layout can be obtained with:
  233. #
  234. #    Option     "XkbLayout"     "de"
  235. #
  236. # or:
  237. #
  238. #    Option     "XkbLayout"     "de"
  239. #    Option     "XkbVariant"    "nodeadkeys"
  240. #
  241. # If you'd like to switch the positions of your capslock and
  242. # control keys, use:
  243. #
  244. #    Option     "XkbOptions"    "ctrl:swapcaps"
  245.  
  246.  
  247. # These are the default XKB settings for XFree86
  248. #
  249. #    Option     "XkbRules"      "xfree86"
  250. #    Option     "XkbModel"      "pc101"
  251. #    Option     "XkbLayout"     "us"
  252. #    Option     "XkbVariant"    ""
  253. #    Option     "XkbOptions"    ""
  254.  
  255. EndSection
  256.  
  257.  
  258. # **********************************************************************
  259. # Core Pointer's InputDevice section
  260. # **********************************************************************
  261.  
  262. Section "InputDevice"
  263.  
  264. # Identifier and driver
  265.  
  266.     Identifier    "Mouse1"
  267.     Driver    "mouse"
  268.  
  269. # On platforms where PnP mouse detection is supported the following
  270. # protocol setting can be used when using a newer PnP mouse:
  271.  
  272.     Option     "Protocol"      "Auto"
  273.  
  274. # The available mouse protocols types that you can set below are:
  275. #    Auto BusMouse GlidePoint GlidePointPS/2 IntelliMouse IMPS/2
  276. #    Logitech Microsoft MMHitTab MMSeries Mouseman MouseManPlusPS/2
  277. #    MouseSystems NetMousePS/2 NetScrollPS/2 OSMouse PS/2 SysMouse
  278. #    ThinkingMouse ThinkingMousePS/2 Xqueue
  279. #    Option "Protocol"    "PS/2"
  280.  
  281. # The mouse device.  The device is normally set to /dev/mouse,
  282. # which is usually a symbolic link to the real device.
  283.  
  284.     Option "Device"      "/dev/mouse"
  285. #   Option "Device"      "/dev/psaux"
  286. #   Option "Device"      "/dev/ttyS0"
  287. #   Option "Device"      "/dev/ttyS1"
  288.  
  289. # When using XQUEUE, comment out the above two lines, and uncomment
  290. # the following line.
  291.  
  292. #    Option "Protocol"    "Xqueue"
  293.  
  294. # Baudrate and SampleRate are only for some Logitech mice. In
  295. # almost every case these lines should be omitted.
  296.  
  297. #    Option "BaudRate"        "9600"
  298. #    Option "SampleRate"    "150"
  299.  
  300. # Emulate3Buttons is an option for 2-button Microsoft mice
  301. # Emulate3Timeout is the timeout in milliseconds (default is 50ms)
  302.  
  303.      Option "Emulate3Buttons"
  304. #    Option "Emulate3Timeout"    "50"
  305.  
  306. #    Option "ZaxisMapping" "4 5"
  307. @@WHEEL@@
  308. # ChordMiddle is an option for some 3-button Logitech mice
  309.  
  310. #    Option "ChordMiddle"
  311.  
  312. EndSection
  313.  
  314. # Some examples of extended input devices
  315.  
  316. # Section "InputDevice"
  317. #    Identifier "spaceball"
  318. #    Driver     "magellan"
  319. #    Option     "Device"        "/dev/cua0"
  320. # EndSection
  321. #
  322. # Section "InputDevice"
  323. #    Identifier "spaceball2"
  324. #    Driver     "spaceorb"
  325. #    Option     "Device"        "/dev/cua0"
  326. # EndSection
  327. #
  328. # Section "InputDevice"
  329. #    Identifier "touchscreen0"
  330. #    Driver     "microtouch"
  331. #    Option     "Device"        "/dev/ttyS0"
  332. #    Option     "MinX"          "1412"
  333. #    Option     "MaxX"          "15184"
  334. #    Option     "MinY"          "15372"
  335. #    Option     "MaxY"          "1230"
  336. #    Option     "ScreenNumber"  "0"
  337. #    Option     "ReportingMode" "Scaled"
  338. #    Option     "ButtonNumber"  "1"
  339. #    Option     "SendCoreEvents"
  340. # EndSection
  341. #
  342. # Section "InputDevice"
  343. #    Identifier "touchscreen1"
  344. #    Driver     "elo2300"
  345. #    Option     "Device"        "/dev/ttyS0"
  346. #    Option     "MinX"          "231"
  347. #    Option     "MaxX"          "3868"
  348. #    Option     "MinY"          "3858"
  349. #    Option     "MaxY"          "272"
  350. #    Option     "ScreenNumber"  "0"
  351. #    Option     "ReportingMode" "Scaled"
  352. #    Option     "ButtonThreshold"       "17"
  353. #    Option     "ButtonNumber"  "1"
  354. #    Option     "SendCoreEvents"
  355. # EndSection
  356.  
  357. # **********************************************************************
  358. # Monitor section
  359. # **********************************************************************
  360.  
  361. # Any number of monitor sections may be present
  362. # Auto-generated by mkxf86config
  363. @@MONITOR@@
  364.  
  365. # **********************************************************************
  366. # Graphics device section
  367. # **********************************************************************
  368.  
  369. # Any number of graphics device sections may be present
  370.  
  371. Section "Device"
  372.     Identifier  "VESA Framebuffer"
  373. @@DRIVER@@
  374.     #VideoRam    4096
  375.     # Insert Clocks lines here if appropriate
  376. EndSection
  377.  
  378. # **********************************************************************
  379. # Screen sections
  380. # **********************************************************************
  381.  
  382. # Any number of screen sections may be present.  Each describes
  383. # the configuration of a single screen.  A single specific screen section
  384. # may be specified from the X server command line with the "-screen"
  385. # option.
  386. Section "Screen"
  387.     Identifier  "Screen 1"
  388.     Device      "VESA Framebuffer"
  389.     Monitor     "Monitor0"
  390.  
  391. # If your card can handle it, a higher default color depth (like 24 or 32)
  392. # is highly recommended.
  393.  
  394. #   DefaultDepth 8
  395. #   DefaultDepth 16
  396. #   DefaultDepth 24
  397. #   DefaultDepth 32
  398.  @@DEPTH@@
  399. # "1024x768" is also a conservative usable default resolution.  If you
  400. # have a better monitor, feel free to try resolutions such as
  401. # "1152x864", "1280x1024", "1600x1200", and "1800x1400" (or whatever your
  402. # card/monitor can produce)
  403.  
  404.     Subsection "Display"
  405.         Depth       8
  406.         @@MODES@@
  407.     EndSubsection
  408.     Subsection "Display"
  409.         Depth       16
  410.         @@MODES@@
  411.     EndSubsection
  412.     Subsection "Display"
  413.         Depth       24
  414.         @@MODES@@
  415.     EndSubsection
  416.     Subsection "Display"
  417.         Depth       32
  418.         @@MODES@@
  419.     EndSubsection
  420.  
  421. EndSection
  422.  
  423. # **********************************************************************
  424. # ServerLayout sections.
  425. # **********************************************************************
  426.  
  427. # Any number of ServerLayout sections may be present.  Each describes
  428. # the way multiple screens are organised.  A specific ServerLayout
  429. # section may be specified from the X server command line with the
  430. # "-layout" option.  In the absence of this, the first section is used.
  431. # When now ServerLayout section is present, the first Screen section
  432. # is used alone.
  433.  
  434. Section "ServerLayout"
  435.  
  436. # The Identifier line must be present
  437.     Identifier  "Simple Layout"
  438.  
  439. # Each Screen line specifies a Screen section name, and optionally
  440. # the relative position of other screens.  The four names after
  441. # primary screen name are the screens to the top, bottom, left and right
  442. # of the primary screen.  In this example, screen 2 is located to the
  443. # right of screen 1.
  444.  
  445.     Screen "Screen 1"
  446.  
  447. # Each InputDevice line specifies an InputDevice section name and
  448. # optionally some options to specify the way the device is to be
  449. # used.  Those options include "CorePointer", "CoreKeyboard" and
  450. # "SendCoreEvents".
  451.  
  452.     InputDevice "Mouse1" "CorePointer"
  453.     InputDevice "Keyboard1" "CoreKeyboard"
  454.  
  455. EndSection
  456.  
  457.